     <?php do { ?>
 <input <?php if (!(strcmp($row_service["id"],$row_order_item_service['service_id']))) {echo "checked=\"checked\"";} ?> type='checkbox' name='order_item_service[]' value='<?php echo $row_service['id']; ?>' /><?php echo $row_service['name']?>
 <br />
 <?php } while ($row_service = mysql_fetch_assoc($service)); ?>